package com.romadan.general.settings;

public final class ProjectState {
	private static boolean isSingleMode = false;
	private static boolean isMultipleMode = false;
	private static boolean readFileSlp = false;
	private static boolean readFileShp = false;
	private static boolean readFileShot = false;
	private static boolean readFolderShot = false;
	private static boolean calcCrossCoefficients = false;
	
	private static int mOrder;
	
	public ProjectState() {
		
	}
	
	public boolean isSingleMode() {
		return isSingleMode;
	}
	public void setSingleMode(boolean isSingleMode) {
		if (isSingleMode) {
			ProjectState.isMultipleMode = false;
		}
		ProjectState.isSingleMode = isSingleMode;
	}
	public boolean isMultipleMode() {
		return isMultipleMode;
	}
	public void setMultipleMode(boolean isMultipleMode) {
		if (isMultipleMode) {
			ProjectState.isSingleMode = false;
		}
		ProjectState.isMultipleMode = isMultipleMode;
	}
	public boolean isReadFileSlp() {
		return readFileSlp;
	}
	public void setReadFileSlp(boolean readFileSlp) {
		ProjectState.readFileSlp = readFileSlp;
	}
	public boolean isReadFileShp() {
		return readFileShp;
	}
	public void setReadFileShp(boolean readFileShp) {
		ProjectState.readFileShp = readFileShp;
	}
	public boolean isReadFileShot() {
		return readFileShot;
	}
	public void setReadFileShot(boolean readFileShot) {
		if (readFileShot) {
			ProjectState.readFolderShot = false;
		}
		ProjectState.readFileShot = readFileShot;
	}
	public boolean isReadFolderShot() {
		return readFolderShot;
	}

	public void setReadFolderShot(boolean readFolderShot) {
		if (readFolderShot) {
			ProjectState.readFileShot = false;
		}
		ProjectState.readFolderShot = readFolderShot;
	}

	public boolean isCalcCrossCoefficients() {
		return calcCrossCoefficients;
	}

	public void setCalcCrossCoefficients(boolean calcCrossCoefficients) {
		ProjectState.calcCrossCoefficients = calcCrossCoefficients;
	}

	public int getmOrder() {
		return mOrder;
	}

	public void setmOrder(int mOrder) {
		ProjectState.mOrder = mOrder;
	}
}
